﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace BayNexususer.XMLModel
{
    public class gridbill
    {

        /// <summary>
        /// 血糖单配置流水号
        /// </summary>
        public string gridconfigsn
        {
            get;
            set;
        }
        /// <summary>
        /// 专科记录流水号 key
        /// </summary>
        public string gridbillsn
        {
            get;
            set;
        }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public string inpatientid
        {
            get;
            set;
        }
        /// <summary>
        /// 病人id
        /// </summary>
        public string patientid
        {
            get;
            set;
        }
        /// <summary>
        /// 新增1，修改2，删除3，如果无法区分新增、修改，则新增修改时传1
        /// </summary>
        public string insertflag
        {
            get;
            set;
        }
        /// <summary>
        /// 创建人(用户code)
        /// </summary>
        public string creator
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间格式：yyyymmddhhmimiss
        /// </summary>
        public string creatortime
        {
            get;
            set;
        }
        /// <summary>
        /// 修改人（用户code）
        /// </summary>
        public string modifier
        {
            get;
            set;
        }
        /// <summary>
        /// 修改时间格式：yyyymmddhhmimiss
        /// </summary>
        public string modifiertime
        {
            get;
            set;
        }
        /// <summary>
        /// 记录时间格式：yyyymmddhhmimiss
        /// </summary>
        public string recordtime
        {
            get;
            set;
        }
        /// <summary>
        /// 记录人（用户名称）
        /// </summary>
        public string recorder
        {
            get;
            set;
        }
        /// <summary>
        /// 部门(科室)代码
        /// </summary>
        public string deptcode
        {
            get;
            set;
        }
        /// <summary>
        /// 部门(科室)名称
        /// </summary>
        public string deptname
        {
            get;
            set;
        }
        /// <summary>
        /// 病区名称
        /// </summary>
        public string wardname
        {
            get;
            set;
        }
        /// <summary>
        /// 病区代码
        /// </summary>
        public string wardcode
        {
            get;
            set;
        }
        [XmlArrayItem("gridbillele")]
        [XmlArray("gridbilleles")]
        public List<gridbillele> gridbillele { get; set; }

    }
}